package com.chenwut.threadDemo.exercise_1;

/**
 * @author ChenPi
 * @since 2024/09/19 16:17
 */
public class Test02 {
    public static void main(String[] args) {
        MyRunable02 myRunable02 = new MyRunable02();
        Thread t1 = new Thread(myRunable02);
        Thread t2 = new Thread(myRunable02);

        t1.setName("窗口一");
        t2.setName("窗口二");

        t1.start();
        t2.start();
    }
}
